﻿<UserControl x:Class="XSemmel.Editor.XmlGridView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             xmlns:GridView="clr-namespace:WmHelp.XmlGrid;assembly=XmlGridControl" 
             mc:Ignorable="d" 
             d:DesignHeight="100" d:DesignWidth="300" 
             IsVisibleChanged="UserControl_IsVisibleChanged">
    <DockPanel>
        <Label x:Name="_lblErrors" x:FieldModifier="private" DockPanel.Dock="Top" 
               Foreground="DarkRed" Background="Transparent" Visibility="Collapsed">
            Errors
        </Label>
        <WindowsFormsHost x:Name="_winformsHost" x:FieldModifier="private">
            <GridView:XmlGridView x:Name="_xmlGridView" x:FieldModifier="private" AutoHeightCells="True"/>
        </WindowsFormsHost>
    </DockPanel>
    
</UserControl>
